package com.yuyou.train.lesson.vo.req;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;


/**
 * @author 
 */
public class ReqResExamItemAdd  {

	@ApiModelProperty(value = "试卷主键", required = true)
	@NotBlank (message="试卷主键(resourceExamId)不能为空")
    private String resourceExamId;

	@ApiModelProperty(value = "题目主键", required = true)
	@NotBlank(message="题目主键(resourceQuestionId)不能为空")
    private String resourceQuestionId;
    
/*	@ApiModelProperty(value = "分数", required = false)
	@NotNull(message="分数(score)不能为空")
	@Min(value = 0,message = "分数(score)必须在范围[0,100]")
	@Max(value = 100,message = "分数(score)必须在范围[0,100]")
    private Integer score;*/
    

	public String getResourceExamId() {
		return resourceExamId;
	}

	public void setResourceExamId(String resourceExamId) {
		this.resourceExamId = resourceExamId;
	}

	public String getResourceQuestionId() {
		return resourceQuestionId;
	}

	public void setResourceQuestionId(String resourceQuestionId) {
		this.resourceQuestionId = resourceQuestionId;
	}

    
    
    
 
}